<template>
	<view class="container">
		<view class="success-icon">
			<image src="/static/提现成功.svg" class="icon-image" />
		</view>
		<text class="success-message">提交成功</text>
		<text class="waiting-message">等待平台审核</text>
		<button class="return-button" @click="navigateToHome">返回首页</button>
	</view>
</template>
<script setup>
	import {
		ref
	} from "vue";

	const navigateToHome = () => {
		// uni.navigateBack({
		// 	delta: 1,
		// });
		uni.navigateTo({
			url: '/pages/index/index',
		});
	};
</script>

<style scoped>
	.container {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		height: 100vh;
		background-color: #ffffff;
	}

	.success-icon {
		width: 200rpx;
		height: 200rpx;
		border-radius: 50%;
		display: flex;
		align-items: center;
		justify-content: center;
		margin-bottom: 20rpx;
		margin-top: -500rpx;
	}

	.icon-image {
		width: 160rpx;
		height: 160rpx;
	}

	.success-message {
		font-size: 32rpx;
		color: #333333;
		margin-bottom: 10rpx;
	}

	.waiting-message {
		font-size: 28rpx;
		color: #666666;
		margin-bottom: 40rpx;
	}

	.return-button {
		width: 320rpx;
		height: 80rpx;
		background-color: #007aff;
		color: #ffffff;
		font-size: 32rpx;
		border: none;
		outline: none;
		border-radius: 16rpx;
	}
</style>